package com.systemCapacity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.systemCapacity.common.dto.*;
import com.systemCapacity.entity.BattleCapacity;

import java.util.List;

public interface BattleCapacityService extends IService<BattleCapacity> {

    List<BattleCapacityDto> getBattleCapacities(int type, String firstName);

    boolean saveBattleCapacity(BattleCapacityDto dto);

    boolean capacityNameExist(String capacityName);

    boolean editBattleCapacity(BattleCapacityDto dto);

    boolean capacityExist(String capacityId);

    List<BattleCapacityDto> getFirstCapacities(int type, String firstName);

    boolean saveRelatedTypes(List<CapacityRelatedTypesSaveDto> dtos);
    List<EquipmentTemplateDto> getTableColumnList();
    List<BattleCapacityDto> queryCapacityListByType(String type);
}
